package ar.com.vates.util;

public class Factorial {
	private static int factorial;
	public static int calcularFactorial(int numero)
	{
		if(numero <=1) return 1;
		else
		{
			factorial=numero*calcularFactorial(numero-1);
		}
		return factorial;
	}

}
